package com.yiyang.service;

import com.yiyang.entity.Result;
import com.yiyang.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【room】的数据库操作Service
* @createDate 2024-07-09 08:20:17
*/
public interface RoomService extends IService<Room> {

    Result<List<Room>> getRoom(Integer currentPage, Integer pageSize, String num);

    Result<Void> addRoom(Room room);

    Result<List<Room>> updateRoom(Room room);

    Result<Void> deleteRoom(String id);
}
